﻿
using System;

namespace Sharp.Platform
{
    /// <summary>
    /// 老套的枚举管理
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class EnumerateAttribute : System.Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="EnumerateAttribute"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        public EnumerateAttribute(string name)
        {
            this.Name = name;
        }

        /// <summary>
        /// 名称
        /// </summary>
        /// <value>名称</value>
        public string Name { get; set; }
    }
}